import { MenuItem } from "@/scripts/dataTypes";
import { defineAsyncComponent, ref, shallowRef } from "vue";


export const materailsMenuList = ref<MenuItem[]>([

    {
        id: "absorb",
        name: "吸取",
        status: "none",
        icon: new URL('../../../assets/cimrts/materailsManager/absorb.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/cimrts/materailsManager/absorb_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/cimrts/materailsManager/absorb_hover.png', import.meta.url).href,
        isOnly: true,
        isDisabled: false,
    },
    {
        id: "rename",
        name: "重命名",
        status: "none",
        icon: new URL('../../../assets/cimrts/materailsManager/rename.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/cimrts/materailsManager/rename_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/cimrts/materailsManager/rename_hover.png', import.meta.url).href,
        isOnly: true,

    },
    {
        id: "edit",
        name: "编辑",
        status: "none",
        icon: new URL('../../../assets/cimrts/materailsManager/edit.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/cimrts/materailsManager/edit_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/cimrts/materailsManager/edit_hover.png', import.meta.url).href,
        isOnly: true,

    },
    {
        id: "clone",
        name: "克隆",
        status: "none",
        icon: new URL('../../../assets/cimrts/materailsManager/clone.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/cimrts/materailsManager/clone_hover.png', import.meta.url).href,
    },
    {
        id: "delete",
        name: "删除",
        status: "none",
        icon: new URL('../../../assets/cimrts/materailsManager/delete.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/cimrts/materailsManager/delete_hover.png', import.meta.url).href,
    },
])

